/**
 * @Copyright (C) 2019 广州金鹏集团有限公司.
 * 本系统是商用软件,未经授权擅自复制或传播本程序的部分或全部将是非法的.
 * @创建人: 赵力
 * @创建时间: 2019-01-25 14:59
 * @版本: V1.0
 */
package io.renren.modules.knowledge.entity.node;


import io.renren.modules.knowledge.entity.base.BaseNode;
import org.neo4j.ogm.annotation.GraphId;
import org.neo4j.ogm.annotation.NodeEntity;
import org.neo4j.ogm.annotation.Relationship;

import java.util.List;
import java.util.Set;

/**
 * 职位节点
 */
@NodeEntity
public class occupation{

    @GraphId
    public Long id;

    private String name; //名称


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    private String title;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return super.toString();
    }

    @Relationship(type="master")
    private Set<course> course;


    public Set<io.renren.modules.knowledge.entity.node.course> getCourse() {
        return course;
    }

    public void setCourse(Set<io.renren.modules.knowledge.entity.node.course> course) {
        this.course = course;
    }
}
